package com.etu.jsonservices.command;

import com.etu.jsonservices.dto.IDTO;

@SuppressWarnings("rawtypes")
public class CommandFactoryEntry<C extends IStatefulCommand, M extends IDTO> {

	public CommandFactoryEntry(Class<C> commandClass, Class<M> modelClass) {
		super();
		this.commandClass = commandClass;
		this.modelClass = modelClass;
	}

	private Class<C> commandClass;

	private Class<M> modelClass;

	public void setModelClass(Class<M> modelClass) {
		this.modelClass = modelClass;
	}

	public Class<M> getModelClass() {
		return modelClass;
	}

	public void setCommandClass(Class<C> commandClass) {
		this.commandClass = commandClass;
	}

	public Class<C> getCommandClass() {
		return commandClass;
	}
}
